package com.bjx.api.system.domain.query;


import com.bjx.api.system.domain.bo.ExecuteBO;
import com.bjx.common.core.domain.query.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

/**
 * @desc: 用户信息数据实体
 * @author: liushuai
 * @date: 2022-09-28
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserQuery extends BaseQuery {
    /**
     * 用户ID
     */
    @Schema(title = "userId",description = "用户ID")
    private  Integer userId;

    /**
     * 真实名称
     */
    @Schema(title = "realName",description = "真实名称")
    private  String realName;

    /**
     * 用户登录名
     */
    @Schema(title = "username",description = "用户登录名")
    private  String username;


    /**
     * 组织机构ID
     */
    @Schema(title = "orgId",description = "组织机构ID")
    private  Integer orgId;


    /**
     *  用户Id集合
     */
    @Schema(title = "userIds",description = "用户Id集合")
    private List<Long> userIds;

   /**
    *  组织机构职位查询实体
    */
    @Schema(title = "orgPosts",description = "组织机构职位查询实体")
    private List<ExecuteBO> orgPosts;

    /**
     *  查询map
     */
    private Map<Long, List<Long>> queryMap;


    /**
     *  角色Id列表
     */
    @Schema(title = "roleIds",description = "角色Id列表")
    private List<Long> roleIds;

    /**
     *  职位Id列表
     */
    @Schema(title = "postIds",description = "职位Id列表")
    private List<Long> postIds;



}